home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / util / batch / WaitSignal.lha / WaitSignal / source / smakefile < prev    next >
Encoding:
Makefile  |  1998-09-20  |  1.1 KB  |  62 lines

  1. ##
  2. ## smakefile for SAS/C 6
  3. ##
  4. ## (WaitSignal)
  5. ##
  6. ## to generate it, simply 'smake all'
  7. ##
  8. ## ignore the stuff at the end of this makefile! It's just for me :).
  9. ## If you think this makefile is chaotic - you're right!
  10. ##
  11. ## -- Stephan
  12. ##
  13.  
  14. REL=release
  15. DST=release/WaitSignal
  16. SRC=release/WaitSignal/source
  17. EXA=release/WaitSignal/examples
  18. ARC=WaitSignal.lha
  19.  
  20. FEXE=${DST}/WaitSignal
  21. FDOC=$(DST)/WaitSignal.guide
  22. FDEMO=$(EXA)/Demo1 $(EXA)/Demo1child
  23. FSRC=$(SRC)/smakefile $(SRC)/WaitSignal.c
  24. FILES=$(FEXE) $(FDOC) $(FDEMO) $(FSRC)
  25.  
  26. all: WaitSignal
  27.  
  28. WaitSignal: WaitSignal.c
  29.     sc waitsignal.c
  30.  
  31. clean:
  32.     -delete waitsignal
  33.     -delete waitsignal.o
  34.     -delete ${REL} all
  35.     -delete ${ARC}
  36.     -delete dist
  37.  
  38. arc: ${ARC}
  39.  
  40. ${ARC}: dist pgp
  41.     -delete ${ARC}
  42.     lha -mraxe -v0 a ${ARC} $(REL)/#?
  43.  
  44. pgp: dist
  45.     pgps -b $(FILES)
  46.  
  47. dist: all
  48.     -makedir $(REL) $(DST)
  49.     stripa FROM WaitSignal TO ${DST}/WaitSignal
  50.  
  51.     copy WaitSignal.guide WaitSignal.guide.info TO ${DST}
  52.  
  53.     -makedir ${SRC}
  54.     copy WaitSignal.c smakefile scoptions TO ${SRC}
  55.  
  56.     -makedir ${EXA}
  57.     copy Examples/Demo1 Examples/Demo1child TO ${EXA} CLONE
  58.  
  59.     echo All done.
  60.     echo >dist
  61.  
  62.